package com.modai.springcloud.service.impl;

import com.modai.springcloud.service.HystrixOrderService;
import org.springframework.stereotype.Component;

/**
 * @author ：modai
 * @date ：Created in 2020-12-7 21:27
 * @description：
 */
@Component
public class HystrixOrderServiceFallback implements HystrixOrderService {
    @Override
    public String responseOk(int id) {
        return ">>>>>>服务调用失败, 方法名为：responseOk";
    }

    @Override
    public String responseTimeout(int id) {
        return ">>>>>>服务调用失败, 方法名为：responseTimeout";
    }
}
